
import request from '../../utils/request.js'


export const getEventList = (data) => request({ url: '/schedule/event/getList', data })

export const getEventInfo = () => request({ url: '/schedule/event/getInfo' })

export const saveOrUpdateEvent = (data) => request({ url: '/schedule/event/saveOrUpdate', data })

export const deleteEvent = (data) => request({ url: '/schedule/event/delete', data })

export const clearEvent = (data) => request({ url: '/schedule/event/clear', data })

export const getEventCount = () => request({ url: '/schedule/event/getCount' })